package com.my.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.my.result.BasePageReq;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author sjx
 * @date 2025/2/12 10:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WecomGroupQueryReq extends BasePageReq {

    /**
     * 聊天群id
     */
    private String chatId;
    /**
     * 聊天群名称
     */
    private String chatName;
    /**
     * 状态
     */
    private Boolean status;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = JsonFormat.Shape.STRING)
    private LocalDateTime beginTime;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = JsonFormat.Shape.STRING)
    private LocalDateTime endTime;

}
